package com.ssy.lingxi.pay.api.dto.request.eAccount;

import lombok.Data;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.math.BigDecimal;

/**
 * 资金账户提现实体
 * @author jw.chen
 * @version 2.0.0
 * @date 2020/7/21
 */
@Data
public class EAccountCashOutRequest implements Serializable {
    private static final long serialVersionUID = -5898070986434586279L;

    /**
     * 提现金额
     */
    @NotNull(message = "提现金额不能为空")
    private BigDecimal money;

    /**
     * 银行卡号/账号
     */
    @NotEmpty(message = "银行卡号不能为空")
    private String bankCardNo;

}
